a[disabled] {
  color: #999999 !important;
}
.mt20 {
  margin-top: 20px;
}
.mb0 {
  margin-bottom: 0px !important;
}
.el-form {
  .el-form-item__label {
    font-weight: normal;
  }
}

.text-primary {
  color: #33317e !important;
}

.el-tabs__nav-wrap:after {
  background: rgba(0, 0, 0, 0.1);
}

.el-dialog {
  position: relative;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  &::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(50px);
  }
  .el-dialog__body {
    position: relative;
    z-index: 10;
  }
  .el-dialog__header {
    padding: 20px;
    position: relative;
    &::after {
      position: absolute;
      content: "";
      bottom: 0px;
      left: 20px;
      right: 20px;
      height: 1px;
      background: rgba(0, 0, 0, 0.1);
    }
  }
  .el-dialog__footer {
    position: relative;
    padding-top: 20px;
    &::before {
      position: absolute;
      content: " ";
      top: 0px;
      left: 20px;
      right: 20px;
      height: 1px;
      background: rgba(0, 0, 0, 0.1);
    }
  }
  .el-dialog__title {
    position: relative;
    padding-left: 10px;
    font-size: 20px;
    font-weight: 600;
    &::after {
      position: absolute;
      content: "";
      bottom: 0px;
      left: 0px;
      width: 4px;
      height: 20px;
      background: #33317e;
      border-radius: 2px;
    }
  }
  .el-dialog__headerbtn {
    right: 20px !important;
    font-size: 24px;
    top: 14px;
    .el-icon-close {
      color: #333333;
    }
  }
}

.bottom-p {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 0 !important;
}

.treeselect {
  display: inline-block;
  width: 280px;
  height: 28px;
  margin-left: 20px;
  font-weight: normal !important;
  .vue-treeselect__control,
  .vue-treeselect__input,
  .vue-treeselect__single-value {
    height: 26px !important;
    line-height: 26px !important;
    color: #606266;
    font-size: 12px;
  }

  &.vue-treeselect--focused {
    .vue-treeselect__control {
      border-color: #33317e !important;
    }
  }
  .vue-treeselect__placeholder {
    font-size: 12px;
    line-height: 26px;
  }
  .vue-treeselect__option {
    // color: #ff0000;
    &:hover {
      background-color: #f5f7fa !important;
      color: #606266;
    }
    &.vue-treeselect__option--selected {
      background-color: #f5f7fa !important;
      color: #33317e;
    }
  }
  .vue-treeselect__label {
    font-weight: normal;
  }
}

.vue-treeselect:not(.vue-treeselect--disabled)
  .vue-treeselect__multi-value-item:not(
    .vue-treeselect__multi-value-item-disabled
  ):hover
  .vue-treeselect__multi-value-item:not(.vue-treeselect__multi-value-item-new)
  .vue-treeselect__multi-value-item:not(
    .vue-treeselect__multi-value-item-new
  ):hover,
.vue-treeselect__multi-value-item {
  background: rgba(51, 49, 126, 0.08) !important;
  color: #33317e !important;
}

.vue-treeselect__value-remove {
  color: #33317e !important;
}
.vue-treeselect__checkbox--checked,
.vue-treeselect__checkbox--indeterminate {
  background: #33317e !important;
  border-color: #33317e !important;
}
.vue-treeselect__label-container:hover .vue-treeselect__checkbox {
  border-color: #33317e !important;
}

.el-card.is-always-shadow {
  background: #ffffff;
  border-radius: 8px;
  border: none;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.el-card__header {
  font-size: 18px;
  font-weight: 600;
  border-bottom: none;
  position: relative;
  &::after {
    position: absolute;
    content: " ";
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
  }
}

.el-step {
  .el-step__title {
    font-size: 14px;
  }
  .el-step__head.is-finish {
    .el-step__icon.is-text {
      background-color: #33317e;
      color: #ffffff;
    }
  }
  .el-step__head.is-process {
    color: #33317e;
    border-color: #33317e;
  }
  .el-step__title.is-process {
    color: #33317e;
  }
}

.el-button--primary.is-plain {
  background-color: #ffffff;
  &:hover,
  &:focus {
    background: #ebeaf2;
    color: #33317e;
  }
}

.el-table {
  .el-table__header-wrapper {
    background: #f5f5f5 !important;
  }
}

.text-danger {
  color: #f27011 !important;
}

.el-table--small {
  font-size: 14px;
}

.my-popover {
  min-width: 240px;
  background: rgba(0, 0, 0, 0.6) !important;
  border-radius: 4px;
  border: none;
  color: #ffffff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.line {
  fill: none;
  stroke-width: 2;
  opacity: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke: #0c05ff;
  stroke-dasharray: 328 600;
  --colorA: rgb(18, 12, 255, 0.3);
  filter: drop-shadow(0px 0px 4px var(--colorA))
    drop-shadow(0px 0px 0px var(--colorA))
    drop-shadow(0px 0px 800px var(--colorA))
    drop-shadow(0px 0px 200px var(--colorA))
    drop-shadow(0px 0px 0px var(--colorA));
  // animation: rotate2 2s infinite linear;
}
.cs-all {
  animation: cs-all 3s infinite -1s linear;
}
.zt-all {
  animation: zt-all 3s infinite -1s linear;
}

@keyframes cs-all {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 920;
  }
}
@keyframes zt-all {
  0% {
    stroke-dashoffset: 920;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.pulse1,
.pulse2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #33317e;
  border-radius: 10px;
  opacity: 0;
  z-index: -1;
}
.pulse1 {
  animation: warn1 1.5s linear;
  animation-iteration-count: infinite;
}
.pulse2 {
  animation: warn2 1.5s linear;
  animation-iteration-count: infinite;
}
@keyframes warn1 {
  0% {
    transform: scale(1);
    opacity: 0.01;
  }

  25% {
    transform: scale(1.2);
    opacity: 0.1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.07;
  }

  75% {
    transform: scale(1.6);
    opacity: 0.03;
  }

  100% {
    transform: scale(1.8);
    opacity: 0.01;
  }
}

@keyframes warn2 {
  0% {
    transform: scale(0.8);
    opacity: 0.01;
  }

  25% {
    transform: scale(0.8);
    opacity: 0.13;
  }

  50% {
    transform: scale(1);
    opacity: 0.1;
  }

  75% {
    transform: scale(1.2);
    opacity: 0.07;
  }

  100% {
    transform: scale(1.4);
    opacity: 0.01;
  }
}

.graph {
  position: relative;
  .title {
    position: absolute;
    font-size: 20px;
    font-weight: 600;
    color: #33317e;
    top: 20px;
    right: 20px;
  }
  .node {
    width: 200px;
    height: 240px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #33317e;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    &-title {
      padding: 5px 10px;
      font-size: 16px;
      font-weight: 300;
      color: #000000;
      background: rgba(51, 49, 126, 0.1);
      line-height: 20px;
      text-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
      overflow: hidden;
      white-space: nowrap;
    }
    &-img {
      margin-top: 10px;
      padding: 10px;
      height: 180px;
      border-radius: 4px;
      background: rgba(51, 49, 126, 0.1);
    }
  }
  .node-internet {
    width: 60px;
    height: 80px;
  }
}

.tooltiptext {
  position: absolute;
  display: none;
  z-index: 999;
  width: 200px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  padding: 10px;
  color: #ffffff;
  .text {
    display: flex;
    justify-content: space-between;
    line-height: 22px;
    span {
      text-align: left;
    }
  }
}

.vue-treeselect__no-children-tip {
  display: none !important;
}

.el-progress-bar__outer {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.el-progress .el-progress-bar__inner {
  background: linear-gradient(90deg,#33317e 0%, rgba(132,129,244,0.85) 100%);
  border-radius: 10px;
  box-shadow: 0px 0px 4px 0px #33317e; 
}

.el-progress.is-warning .el-progress-bar__inner {
  background: #f27011;
  border-radius: 5px;
  box-shadow: 0px 0px 4px 0px #f27011;
}

.el-progress.is-exception .el-progress-bar__inner {
  background: linear-gradient(90deg, #dc2121 0%, #fe7d7d 100%);
  border-radius: 10px;
  box-shadow: 0px 0px 4px 0px rgba(226, 49, 49, 0.6);
}
